Carbon


KCSetInteractionAllowed

Header: Keychain.h Carbon status: Under Evaluation

Enables you to specify whether user interaction is allowed.

OSStatus KCSetInteractionAllowed (
    Boolean state
);
state

A flag that toggles the user interface state. If you pass true, user interaction is allowed. By default, user interaction is allowed. If you pass false, user interaction is not allowed. In this case, the Keychain functions that normally display a user interface will instead return an error.

function result

A result code.

DISCUSSION

You can call the KCSetInteractionAllowed function to tell Keychain functions that display user interface whether or not to do so. Failing to re-enable user interaction will affect other clients of the Keychain Manager. The interaction allowed state is reset when the machine reboots to the default state, that is, user interaction allowed.

VERSION NOTES

Available beginning with Keychain Manager 2.0.

AVAILABILITY

Under evaluation for Carbon. Available in CarbonLib 1.0 and later when KeychainLib 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by KeychainLib 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)